#include<stdio.h>
#include<stdlib.h>
void main()
{
	FILE* fp;
	char test[1024];
	//fp=fopen("/home/lenovo/桌面/wenjian.c","r");只用一次
	if((fp=fopen("/home/lenovo/桌面/suiji.c","r"))==NULL)
	{
		printf("无法打开\n");
		exit(0);
	}
	while(fgets(test,1024,fp)!=NULL)
	{
		printf("%s",test);
	}
	fclose(fp);
}
